Image processing apparatus, control method therefor, and computer-readable storage medium storing program for implementing the method

ABSTRACT

An image processing apparatus capable of reducing the frequency of a user&#39;s inputting work for authentication information to improve the convenience. When the number of the logged-in users is one, the logged-in user is set as an executor of the predetermined function, and when the number of the logged-in users is two or more, the user is caused to select one of the logged-in users to set the selected one as the executor of the predetermined function.

This application is a continuation of U.S. patent application Ser. No.16/048,718, filed Jul. 30, 2018, which is a continuation of U.S.application Ser. No. 13/526,190, filed Jun. 18, 2012, now U.S. Pat. No.10,061,931, issued on Aug. 28, 2018, which is a divisional of U.S.patent application Ser. No. 12/611,450 filed Nov. 3, 2009, nowabandoned, which claim the benefit of priority to JP Patent ApplicationNo. 2008-283306, filed Nov. 4, 2008; the contents of each areincorporated herein by reference in their entirety.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to an image processing apparatus, such asa multifunction peripheral, a control method therefor, and acomputer-readable storage medium storing a program for implementing themethod.

Description of the Related Art

Recently, among image processing apparatuses including a multifunctionperipheral, there exist a lot of apparatuses configured to be able torestrict access to jobs and resources depending on a user who has loggedin by a user authentication. In such image processing apparatuses, whena user tries to perform an operation while he has logged in, and theuser does not have the authority to execute the operation, it is commonthat an authentication screen is displayed to prompt the user to log inas a different user having the authority.

There exists a configuration for the user session management, such thatwhen the user logs in as a different user, all the information relatedto the user (for example, a user profile including a user name, a user'smail address and the like, and user authority) is completely switched(hereinafter this configuration will be referred to as Prior Art 1). Inthis case, immediately before the user logs in as the different user,the user who has logged in is automatically caused to log out (forexample, see Japanese Laid-Open Patent Publication (Kokai) No.H11-25040).

There exists another configuration for the user session management onlyre-evaluating the user authority of the user information about the userwho has already logged in while maintaining the user profile of the userinformation such as the user name, the user's mail address (hereinafterthis configuration will be referred to as Prior Art 2). As are-evaluation method in this case, it is common that the user authorityheld by the user who has logged in later is added to the user authorityheld by the user who has logged in earlier.

FIG. 16 is a timing chart showing the user session management of PriorArt 1.

Reference numeral 4001 in FIG. 16 indicates a user profile including auser name, a user's mail address and the like to be actually applied ina user session. Reference numeral 4002 indicates the user authority of auser who has currently logged in. Reference numeral 4003 indicates loginuser information which an image forming apparatus stores in associationwith a user session to determine the contents of the user profile 4001and the user authority 4002. FIG. 17 is a tabular form diagram showingsettings for the user profiles and user authorities of users A and B tobe used in FIG. 16.

According to Prior Art 1, when a user inputs user information on a loginscreen at time t401, a process of logging in as the user A is executed.Since the user A is permitted to execute color copying in the settinginformation in FIG. 17, he can execute color copying.

Next, when the user attempts to execute a network management function attime t402, authentication as a user who is permitted to execute thenetwork management function is requested because the user A isprohibited to execute the network management function. Here, when theuser inputs the authentication information about the user B who is anadministrator and is permitted to execute the network managementfunction, and a process of logging in as the user B is performed, theuser profile 4001 is changed to that of the user B as indicated byreference numeral 4021 in FIG. 16, and the user authority 4002 is changeto that of the user B as indicated by reference numeral 4022 in FIG. 16.Then, it becomes possible for the user to execute the network managementfunction.

Next, when the user attempts to execute color copying again at timet403, authentication as a user who is permitted to execute the functionis requested because the user B is prohibited to execute color copying.In this case, if the user inputs again the authentication informationabout the user A who is permitted to execute color copying, he canexecute color copying.

Thus, Prior Art 1 adopts the configuration in which, when a new userlogs in, a user who has already logged in is caused to log out. In thisconfiguration, since all the information related to the user isswitched, there may be a case where a function which can be used as acertain user cannot be used after a process of logging in as a differentuser is performed. In order to enable the disabled function again, theuser has to log in again. As a result, there is a problem that the useris requested to log in again and again, thereby degrading the usability.

FIG. 18 is a timing chart showing the user session management of PriorArt 2.

Reference numerals 6001 to 6003 in FIG. 18 indicate the same asindicated by reference numerals 4001 to 4003 in FIG. 16. It is assumedthat the settings for the user profiles and user authorities of users Aand B in the example of FIG. 18 are similar to those in the example ofFIG. 17.

When a user inputs user information on a login screen at time t601, aprocess of logging in as the user A is performed. Since the user A ispermitted to execute color copying in the setting information of FIG.17, he can execute color copying.

When the user attempts to execute a network management function at thenext time t602, authentication as a user who is permitted to execute thenetwork management function is requested because the user A isprohibited to execute the network management function. Here, when theuser inputs the authentication information about the user B who is anadministrator and is permitted to execute the network managementfunction, and a process of logging in as the user B is performed, theuser profile 6001 continues to be that of the user A as indicated byreference numeral 6021 in FIG. 18. However, as for the user authority6002, all of the items, each of which has been permitted to any of theusers A and B, are changed to be “permitted” as indicated by referencenumeral 6022 in FIG. 8.

When the user attempts to execute color copying again at the next timet603, he can execute color copying without the need for displaying theauthentication screen again because the user A is permitted to executecolor copying even after the user authority is changed.

Thus, in Prior Art 2, the user authority is re-evaluated so that, if anitem is permitted to any of a user who has logged in earlier or a userwho logs in later, the item is permitted. Therefore, it does not happenthat a function which can be used as a certain user cannot be used aftera process of logging in as a different user is performed, therebyimproving the usability in comparison with Prior Art 1.

However, it is difficult for a user to intuitively determine whether ornot the user profile including a user name, a user's mail address andthe like is still the user profile of a user who has logged in earlieror is switched to the user profile of a user who has logged in later.

For example, it is assumed that there exists an image processingapparatus which is provided with an e-mail transmission function andwhich automatically sets a login user's mail address as the senderaddress of an outgoing mail. Suppose that, while a user has logged inthis image processing apparatus as a user A, it becomes necessary tochange a certain management setting item, and the user logs in again asa user B, who is an administrator, changes the management setting item,and thereafter transmits an e-mail. In this case, it is difficult todetermine which of the users A and B is automatically set as the senderaddress.

Furthermore, as a result of logging in again to change settings, theremay be caused problems, such as being charged as an unintended user'sprint job, being set an unintended name as a fax sender name, and beingreferred unintended user data as a user's fixed work and personal datasuch as an address book.

SUMMARY OF THE INVENTION

In view of the above conventional problems, the present inventionprovides an image processing apparatus capable of reducing the frequencyof a user's inputting work for authentication information to improve theconvenience, in a system which restricts access to jobs and resourcesdepending on a user who has logged in, a control method therefor, and acomputer-readable storage medium storing a program for implementing themethod.

It is also intended to enable a user to easily determine which user'suser profile, among those of logged-in users, an operation for executinga function is performed on the basis of.

In a first aspect of the present invention, there is provided an imageprocessing apparatus enabling a user who has logged in to multiply login as a different user to execute a predetermined function, the imageprocessing apparatus comprising a user authentication unit adapted toperform authentication of a user, an access restriction unit adapted torestrict access to a predetermined function depending on the user theauthentication of which is performed by the user authentication unit, amanagement unit adapted to manage user information about the user whohas multiply logged in, for each login independently, a confirmationunit adapted to confirm the number of logged-in users by referring tothe user information managed by the management unit when thepredetermined function is to be executed, a first setting unit adaptedto, when the number of the logged-in users is one as a result of theconfirmation by the confirmation unit, set the logged-in user as anexecutor of the predetermined function, and a second setting unitadapted to, when the number of the logged-in users is two or more as aresult of the confirmation by the confirmation unit, cause the user toselect one of the logged-in users to set the selected one as theexecutor of the predetermined function.

In a second aspect of the present invention, there is provided a controlmethod enabling a user who has logged in to multiply log in as adifferent user to execute a predetermined function, the image processingapparatus comprising a user authentication unit adapted to performauthentication of a user, an access restriction unit adapted to restrictaccess to a predetermined function depending on the user theauthentication of which is performed by the user authentication unit, amanagement unit adapted to manage at least user type information aboutuser classification, username information about a username, and userauthority information about the access restriction as user informationabout the user who has multiply logged in, for each login, and adetermination unit adapted to determine whether or not to permit thelogged-in user to log in as the different user according to the usertype information about the logged-in user.

In a third aspect of the present invention, there is provided a controlmethod for an image processing apparatus enabling a user who has loggedin to multiply log in as a different user to execute a predeterminedfunction, the method comprising a user authentication step ofauthenticating a user, an access restriction step of restricting accessto a predetermined function depending on the user the authentication ofwhich is performed in the user authentication step, a management step ofmanaging user information about the user who has multiply logged in, foreach login independently, a confirmation step of confirming the numberof logged-in users by referring to the user information managed in themanagement step when the predetermined function is to be executed, afirst setting step of, when the number of the logged-in users is one asa result of the confirmation in the confirmation step, setting thelogged-in user as an executor of the predetermined function, and asecond setting step of, when the number of the logged-in users is two ormore as a result of the confirmation in the confirmation step, causingthe user to select one of the logged-in users to set the selected one asthe executor of the predetermined function.

In a fourth aspect of the present invention, there is provided a controlmethod for an image processing apparatus enabling a user who has loggedin to multiply log in as a different user to execute a predeterminedfunction, the method comprising a user authentication step ofauthenticating a user, an access restriction step of restricting accessto a predetermined function depending on the user the authentication ofwhich is performed in the user authentication step, a management step ofmanaging at least user type information about user classification,username information about a username, and user authority informationabout the access restriction as user information about the user who hasmultiply logged in, for each login, and a determination step ofdetermining whether or not to permit the logged-in user to log in as thedifferent user according to the user type information about thelogged-in user.

In a fifth aspect of the present invention, there is provided acomputer-readable storage medium storing a computer-readable program forimplementing a control method for an image processing apparatus enablinga user who has logged in to multiply log in as a different user toexecute a predetermined function, wherein the method comprises a userauthentication step of authenticating a user, an access restriction stepof restricting access to a predetermined function depending on the userthe authentication of which is performed in the user authenticationstep, a management step of managing user information about the user whohas multiply logged in, for each login independently, a confirmationstep of confirming the number of logged-in users by referring to theuser information managed in the management step when the predeterminedfunction is to be executed, a first setting step of, when the number ofthe logged-in users is one as a result of the confirmation in theconfirmation step, setting the logged-in user as an executor of thepredetermined function, and a second setting step of, when the number ofthe logged-in users is two or more as a result of the confirmation inthe confirmation step, causing the user to select one of the logged-inusers to set the selected one as the executor of the predeterminedfunction.

In a sixth aspect of the present invention, there is provided acomputer-readable storage medium storing a computer-readable program forimplementing a control method for an image processing apparatus enablinga user who has logged in to multiply log in as a different user toexecute a predetermined function, wherein the method comprises a userauthentication step of authenticating a user, an access restriction stepof restricting access to a predetermined function depending on the userthe authentication of which is performed in the user authenticationstep, a management step of managing at least user type information aboutuser classification, username information about a username, and userauthority information about the access restriction as user informationabout the user who has multiply logged in, for each login, and adetermination step of determining whether or not to permit the logged-inuser to log in as the different user according to the user typeinformation about the logged-in user.

According to the present invention, it is possible to reduce thefrequency of a user's inputting work for authentication information,thus improving the convenience. Furthermore, a user can easily determinewhich user's user profile, among those of multiply logged-in users, apredetermined function is executed on the basis of.

The above and other objects, features, and advantages of the inventionwill become more apparent from the following detailed description takenin conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram showing the configuration of a systemincluding an image processing apparatus according to the presentinvention.

FIG. 2 is a block diagram showing the hardware configuration of theimage processing apparatus.

FIG. 3 is a block diagram showing the software configuration of theimage processing apparatus.

FIG. 4 is a timing chart showing user session management according to afirst embodiment of the present invention.

FIG. 5 is a diagram showing a login screen according to the firstembodiment.

FIG. 6 is a diagram showing a menu screen used in the first embodiment.

FIG. 7 is a diagram showing a login screen to be displayed whenauthority lacks, which is used in the first embodiment.

FIG. 8 is a diagram showing an execution user selection screen used inthe first embodiment.

FIG. 9 is a flowchart showing a procedure for characteristic processingaccording to the first embodiment.

FIG. 10 is a timing chart showing user session management according to asecond embodiment of the present invention.

FIG. 11 is a tabular form diagram showing settings for user profiles anduser authorities used in FIG. 10.

FIG. 12 is a diagram showing a menu screen used in the secondembodiment.

FIG. 13 is a diagram showing a login screen to be displayed whenauthority lacks, which is used in the second embodiment.

FIG. 14 is a diagram showing an error screen used in the secondembodiment.

FIG. 15 is a flowchart showing a procedure for processing according tothe second embodiment.

FIG. 16 is a timing chart showing the user session management of PriorArt 1.

FIG. 17 is a tabular form diagram showing settings for user profiles anduser authorities used in FIG. 16.

FIG. 18 is a timing chart showing the user session management of PriorArt 2.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The present invention will now be described in detail with reference tothe drawings showing preferred embodiments thereof. It should be notedthat the relative arrangement of the components, the numericalexpressions and numerical values set forth in these embodiments do notlimit the scope of the present invention unless it is specificallystated otherwise.

First Embodiment System Configuration

FIG. 1 is a schematic diagram showing the configuration of a systemincluding an image processing apparatus according to the presentinvention.

This system is configured by a server PC (personal computer) 1000, auser information server apparatus 1001, a ticket issuing serverapparatus 1002, a client PC 1003, and an image processing apparatus 1004which are connected with each other on a network. This system is a printmanagement system which performs restriction of access by users who usethe devices and restriction of execution of jobs, such as restriction ofthe number of prints. It should be noted that the users here includeindividual users, divisions, organizations and the like.

In the server PC 1000, a system administrator utility operates so thatthe server PC 1000 can perform setting and management of this system.Especially, the server PC 1000 can set function restriction information,more specifically access control entry (hereinafter referred to as ACE),to the user information server apparatus 1001. The user informationserver apparatus 1001 hold user information such as user IDs andpasswords, and further hold function restriction information lists, morespecifically access control lists (hereinafter referred to as ACL),which are a set of ACEs, indicating which functions are permitted toeach of the users and the devices in the system.

The ticket issuing server apparatus 1002 issues a ticket on whichinformation about available functions are described, on the basis of theACL stored in the user information server apparatus 1001.

The client PC 1003 is in an available state in this system after loginis performed. Specifically, after the login is performed, it is possibleto use a printer driver for the image processing apparatus 1004 on theclient PC 1003, and it is known on the server PC 1000 which user isusing the client PC.

The image processing apparatus 1004 is, for example, a multifunctionalcopying machine. The image processing apparatus 1004 has not only afunction of copying an original paper document but also a function ofprinting print data sent from an external printer driver and a functionof reading an original paper document and transmitting its image data toan external file server or a mail address (a send function).

Furthermore, the image processing apparatus 1004 also has a function oftransmitting data to another image processing apparatus so as to printthe data on the another image processing apparatus to be transmitted (aremote copy function and a facsimile function) and the like.

The three “ACT” symbols in FIG. 1 indicate an abbreviation of AccessControl Token. For example, an ACT 1005 is data containing informationon functions which a user can execute on the image processing apparatus1004 and function restriction information about the image processingapparatus 1004, thus the ACT 1005 can play a role of transferring theinformation from a server to a device.

It is assumed that the server PC 1000, the user information serverapparatus 1001, the ticket issuing server apparatus 1002, and the clientPC 1003 described above are connected with each other via Ethernet(registered trademark). However, it is only an example of the system.All the connected devices of the server PC 1000, the user informationserver apparatus 1001, the ticket issuing server apparatus 1002, and theclient PC 1003, except the image processing apparatus 1004, may beintegrated into the same computer. Furthermore, the server PC 1000, theuser information server apparatus 1001, the ticket issuing serverapparatus 1002, and the client PC 1003 may be implemented into the imageprocessing apparatus 1004 so that the system is configured only by theimage processing apparatus 1004.

Hardware Configuration of Image Processing Apparatus

FIG. 2 is a block diagram showing the hardware configuration of theimage processing apparatus 1004.

A controller unit 2000 performs input/output of image information ordevice information by being connected to a scanner 2070, which is animage input device, or a printer 2095, which is a image output device,while being connected to a network 1008 or a public circuit 1009. A CPU2001 is a controller which controls the whole image processing apparatus1004. A RAM 2002 is a system work memory used for the CPU 2001 tooperate. The RAM 2002 is also an image memory for temporarily storingimage data. A ROM 2003 is a boot ROM, in which the boot program of thesystem is stored. An HDD 2004 is a hard disk drive, in which systemsoftware, applications, and image data are stored.

An operation section I/F 2006 is an interface section interfacing withan operation section 2012 provided with a touch panel, and the operationsection I/F 2006 outputs image data to be displayed on the operationsection 2012, to the operation section 2012. Furthermore, the operationsection I/F 2006 has a role of communicating information inputted fromthe operation section 2012 by the user of this system, to the CPU 2001.A network I/F 2010 is connected to the network 1008 to input/outputinformation. A modem 2050 is connected to the public circuit 1009 toinput/output information.

An SRAM 2100 is a non-volatile storage medium capable of operating at ahigh speed. An RTC 2110 is a real-time clock, and it performs processingfor continuing counting time even when the controller unit 200 is notpowered on. The devices described above are arranged on a system bus2007.

An image bus I/F 2005 is a bus bridge which connects the system bus 2007and an image bus 2008, which transfers image data at a high speed, toconvert a data structure of the image data. The image bus 2008 isconfigured by a PCI bus or an IEEE1394 bus. The devices described beloware arranged on the image bus 2008.

An RIP 2060 is a raster image processor which develops a PDL code into abitmap image. A device I/F section 2020 connects the scanner 2070 andthe printer 2095, which are image input and output devices, and thecontroller unit 2000 to synchronous/asynchronous conversion of imagedata. A scanner image processing section 2080 performs correction,processing, and editing of inputted image data. A printer imageprocessing section 2090 performs correction, resolution conversion, andthe like of a printer for print output image data. An image rotationsection 2030 rotates image data. An image compression/expansion section2040 performs compression/expansion processing.

Software Configuration of Image Processing Apparatus

FIG. 3 is a block diagram showing the software configuration of theimage processing apparatus 1004.

The software is implemented into the controller unit 2000 included inthe image processing apparatus 1004. The software included in the imageprocessing apparatus 1004 and processed by the controller unit 2000 isimplemented as so-called firmware, and it is executed by the CPU 2001.

A real-time OS 3001 is a real-time operating system, and it providesvarious resource management services and their frameworks optimized forcontrol of an embedded system, to software operating thereon.

A controller platform 3002 is configured by a file system 3003, ajob/device control 3004, a counter 3005, and the like. The file system3003 is a mechanism for storing data which is constructed on a storagedevice, such as the HDD 2004 and the RAM 2002. The job/device control3004 controls the hardware of the image processing apparatus 1004, andit also controls jobs which use basic functions (printing, scanning,communication, image conversion, and the like) provided mainly by thehardware of the image processing apparatus 1004. The counter 3005manages the expiration date for each application and counter values ofprinting and scanning, which are stored in the SRAM 2100.

A system service 3006 is a module for monitoring the operation state ofthe image processing apparatus 1004 or downloading software or licensefrom a software distribution server 1006 (see FIG. 2) via the network1008.

An application platform 3007 is middleware for causing the mechanisms ofthe real-time OS 3001 and the controller platform 3002 to be availablefrom a system application 3008 or applications 3012, 3013 and 3014 whichcan be added. The system application 3008 is configured by applicationmanagement 3009, user session management 3010, and access management3011.

The application management 3009 is a management module for causing theapplications 3012, 3013 and 3014 to be installed, uninstalled,activated, and stopped. The user session management 3010 is a module formanaging user information about a user who has been multiply logged in,for each login independently. That is, it is a module for managing userprofiles and user authorities in response to login/logout by the user.The access management 3011 is a security module for permitting orprohibiting access to various jobs and resources on the basis of theuser authorities in the user session management 3010.

The application 3012 is application software which realizes variousbusiness models using functions provided by the application platform3007.

User Session Management of First Embodiment

Next, the user session management of the first embodiment will bedescribed with reference to FIG. 4.

FIG. 4 is a timing chart showing the user session management accordingto the first embodiment of the present invention.

The user session management of this embodiment is executed by the CPU2001 of the image processing apparatus 1004 as the function of the usersession management 3010 and the access management 3011. Referencenumerals 7001 to 7003 in FIG. 4 indicate the same as indicated byreference numerals 4001 to 4003 in FIG. 16. It is assumed that thesettings for the user profiles and user authorities of users A and B arethe same as those shown in FIG. 17.

When a user logs in as the user A by selecting an OK button afterinputting user information configured by a username, a password and thelike on the login screen (FIG. 5), at time t701, a menu screen (FIG. 6)is displayed on the operation section 2012. A login user display area9005 is arranged at the lower part of a main menu 9000 in FIG. 6, and itis displayed that a function is being executed by the user A at thistime point. Since the user A is permitted to execute a color copyingfunction in the setting information in FIG. 17, he can execute colorcopying when a color copying function 9001 in FIG. 6 is selected.

When the user selects “Return to menu” 9002 in FIG. 6 after execution ofthe color copying function ends, the screen returns to the main menu9000. After that, when the user selects a network management function9003 in FIG. 6 at time t702, the access management 3011 check the userauthority of the user A to determines whether or not the user A ispermitted to execute the network management function. Since the user Ais prohibited to execute the network management function in the settinginformation in FIG. 17, the access management 3011 notifies the usersession management 3010 to that effect. In response to this, the usersession management 3010 displays a login screen 9050 (FIG. 7) requestinguser authentication as a user permitted to execute the function.

Here, when the user logs in again as the user B by inputting theauthentication information about the user B on this login screen 9050 inFIG. 7, the user session management 3010 changes the user profile 7001to that of the user B as indicated by reference numeral 7021 in FIG. 4,and the user authority 7002 to that of the user B as indicated byreference numeral 7022 in FIG. 4. However, information related to theuser A continues to be held in the login user information 7003 withoutbeing discarded nor changed. At the same time, it is displayed in thelogin user display area 9005 that the network management function isbeing executed by the user B between the users A and B who have multiplylogged in.

When the user selects “Return to menu” 9002 in FIG. 6 after execution ofthe network management function ends, the screen returns to the mainmenu 9000. After that, when the user selects the color copying function9001 in FIG. 6 again at time t703, the access management 3011 checks theuser authorities of the users A and B who have logged in to determinewhether or not either one of the users are permitted to execute thecolor copying function. Since only the user A is permitted to executecolor copying function in the setting information in FIG. 17, the accessmanagement 3011 notifies the user session management 3010 to thateffect. In response to this, the user session management 3010 changesthe user profile 7001 to that of the user A as indicated by referencenumeral 7023 in FIG. 4 and the user authority 7002 to that of the user Aas indicated by reference numeral 7024 in FIG. 4, on the basis of theinformation related to the user A which has been held in the login userinformation 7003. At the same time, it is displayed in the login userdisplay area 9005 that the color copying function is being executed bythe user A between the users A and B who have multiply logged in.

When the user selects “Return to menu” 9002 in FIG. 6 after execution ofthe color copying function ends, the screen returns to the main menu9000. After that, when the user selects a fax function 9004 in FIG. 6 attime t704, the access management 3011 checks the user authorities of theusers A and B who have logged in to determine whether or not either oneof the users are permitted to execute the fax function. Since both usersare permitted to execute the fax function in the setting information inFIG. 17, the access management 3011 notifies the user session management3010 to that effect. In responses to this, the user session management3010 displays an execution user selection screen 9060 in FIG. 8. Supposethat the user selects, for example, the user B as an execution user whois an executor to execute the fax function, on the execution userselection screen 9060. In this case, the user session management 3010performs the processing as described below on the basis of informationrelated to the user B which has been held in the login user information7003. That is, the user profile 7001 is changed to that of the user B asindicated by reference numeral 7025 in FIG. 4, and the user authority7002 is changed to that of the user B as indicated by reference numeral7026 in FIG. 4 again. At the same time, it is displayed in the loginuser display area 9005 that the fax function is being executed by theuser B, between the users A and B who have been multiply logged in.

On the other hand, if the user selects the user A as the fax functionexecution user on the execution user selection screen 9060, none of thecontents of the user profile 7001, the contents of the user authority7002, and the display in the login user display area 9005 is changed.

Characteristic Processing according to First Embodiment

Next, characteristic processing according to the first embodiment willbe described with reference to FIG. 9.

FIG. 9 is a flowchart showing a procedure for the characteristicprocessing according to the first embodiment. In this processing,execution user information is determined automatically or in accordancewith user selection, when a function is selected, and this processing isexecuted by the CPU 2001 of the image processing apparatus 1004 as thefunction of the user session management 3010 and the access management3011.

When a user selects a function in step S121, the access management 3011determines whether or not the number of logged-in users permitted toexecute the selected function is two or more, in the next step S122. Ifthe number of such users is not two or more, the user session management3010 automatically selects the only one user permitted to execute theselected function as an execution user, in step S123. Then, the processproceeds to the next step S126.

If the number of the logged-in users permitted to execute the selectedfunction is two or more, the user session management 3010 displays theexecution user selection screen 9060 (FIG. 8) in step S124. Then, in thenext step S125, a user to execute the selected function is determined onthe basis of the result of the selection made by the user on theexecution user selection screen 9060. Then, the process proceeds to thenext step S126.

In short, the processing of the flow from step S122 to step S126 viastep S123 is the processing as described below. That is, when the numberof users permitted to execute the selected function is only one, theuser is automatically selected as a user to execute the selectedfunction, without prompting reselection from a list of logged-in users,even if the number of the logged-in user is two or more.

Next, in step S126, the user session management 3010 determines whetheror not the execution user determined by the above procedure is the sameas the current execution user. If the execution user is the same, theprocess immediately proceeds to step S129, where the application 3012executes the selected function. If the execution user is not the same,the user session management 3010 changes the user profile to that of thedetermined execution user in step S127, and further changes the userauthority to that of the determined execution user in step S128. Then,in step S129, the selected function is executed.

Advantages of First Embodiment

According to this embodiment, it is possible to reduce the frequency ofa user's inputting work for authentication information to improve theconvenience, in an apparatus configured to be capable of restrictingaccess to jobs and resources depending on a user who logs in.

Furthermore, the login user display area 9005 is provided so that it isdisplayed which of logged-in users a predetermined function is executedby. Thereby, it is possible for the user to easily determine whichuser's user profile, among those of the logged-in users, an operationfor executing a function is performed on the basis of.

Second Embodiment

Next, a second embodiment of the present invention will be described.

The basic configuration of the second embodiment is similar to thatdescribed with reference to FIGS. 1 to 3 in the above first embodiment.A characteristic part of the second embodiment will be described below.

User Session Management of Second Embodiment

FIG. 10 is a timing chart showing user session management according tothe second embodiment of the present invention.

The user session management of this embodiment is executed by the CPU2001 of the image processing apparatus 1004 as the function of the usersession management 3010 and the access management 3011. Referencenumerals 5001 to 5003 in FIG. 10 indicate the same as indicated byreference numerals 4001 to 4003 in FIG. 16.

FIG. 11 is a tabular form diagram showing settings for the user profilesand user authorities of users A and B used in FIG. 10.

In the example shown in FIG. 11, user type information 8001 indictingthe type (classification) of user is registered as a user profile, as isdistinct from the example in FIG. 17 used in the first embodiment. Theuser types include, for example, an anonymous user and a real-name user.The anonymous user is a special user used by an unspecified large numberof persons. The anonymous user does not have user identificationelements, such as username information about the name of the user and amail address. The real-name user is a user who has such useridentification elements.

When a user logs in as an anonymous user by selecting the OK buttonwithout inputting user information on the login screen (FIG. 5) at timet801, a menu screen (FIG. 12) is displayed on the operation section2012. A login user display area 9015 is arranged at the lower part of amain menu 9010, and it is displayed that a function is being executed bythe anonymous user at this time point. Since the anonymous user ispermitted to execute the color copying function in setting informationin FIG. 11, he can execute a color copying function 9011. It should benoted that login as the anonymous user may be automatically performedwhen the image processing apparatus 1004 is activated.

When the user selects “Return to menu” 9012 in FIG. 12 after executionof the color copying function ends, the screen returns to the main menu9010. After that, when the user selects a network management function9013 in FIG. 12 at time t802, the access management 3011 checks the userauthority of the anonymous user to determine whether or not theanonymous user is permitted to execute network management function.Since the anonymous user is prohibited to execute the network managementfunction in the setting information in FIG. 11, the access management3011 notifies the user session management 3010 to that effect. Inresponse to this, the user session management 3010 displays a loginscreen 9070 (FIG. 13) requesting authentication of an authorized user.Here, when the user logs in again as the user B by inputting theauthentication information about the user B on the login screen 9070,the user session management 3010 changes the user profile 5001 to thatof the user B as indicated by reference numeral 5021 in FIG. 10, andchanges the user authority 5002 so that all of the items, each of whichhas been permitted to either of the anonymous user and the user B, arechanged to be “permitted” as indicated by reference numeral 5022 in FIG.10. At the same time, it is displayed in the login user display area9015 that the function is being executed by the user B.

When the user selects “Return to menu” 9012 in FIG. 12 after executionof the network management function ends, the screen returns to the mainmenu 9010. After that, when the user selects the color copy function9011 in FIG. 12 at time t803 again, the access management 3011 checksthe user authorities of the currently logged-in users regarding todetermine whether or not either of the users are permitted to executethe color copying function. Since the currently logged-in user ispermitted to execute color copying in the user authority indicated byreference numeral 5022 in FIG. 10, he can execute the color copyingfunction without the need for displaying the login screen 9070 again.Furthermore, it is displayed in the login user display area 9015 thatthe function is being executed by the user B, without any change beingmade in the login user display area 9015.

When the user selects “Return to menu” 9012 in FIG. 12 afterre-execution of the color copying function ends, the screen returns tothe main menu 9010. After that, when the user selects the fax function9014 at time t803, the access management 3011 checks the userauthorities of the currently logged-in users to determine whether or noteither of the users are permitted to execute the fax function. Since thecurrently logged-in user is not permitted to execute the fax function inthe user authority indicated by reference numeral 5022 in FIG. 10, it isnotified to the user session management 3010. In responses to this, theuser session management 3010 displays an error screen 9080 (FIG. 14)notifying that it is not possible to change the user. This is because,in the second embodiment, further authentication is prohibited whenlogin as the real-name user has been performed. The user profile 5001and the user authority 5002 are never changed.

It should noted that: in the case of logging in as the user A, who is areal-name user, when inputting user information on the login screen(FIG. 5), and attempting to execute the network management function9013, the error screen 9080 (FIG. 14) notifying that it is impossible tochange the user is displayed similarly.

Characteristic Processing according to Second Embodiment

Next, characteristic processing according to the second embodiment willbe described with reference to FIG. 15.

FIG. 15 is a flowchart showing a procedure for the processing accordingto the second embodiment. This processing is processing for determiningwhether or not to cause authentication to be performed again dependingon the user type of a logged-in user when authority lacks, and it isexecuted by the CPU 2001 of the image processing apparatus 1004 as thefunction of the user session management 3010 and the access management3011.

When a user selects a function in step S131, the access management 3011determines whether or not the logged-in user is permitted to execute theselected function, in step S132. If it is determined that the user ispermitted to execute the selected function, the process proceeds to stepS141, where the application 3012 executes the selected function. On theother hand, if it is determined that the user is not permitted toexecute the selected function, the user session management 3010determines whether or not the logged-in user is an anonymous user, instep S133. If it is determined that the user is not an anonymous user,the process proceeds to step S134, where the error screen 9080 (FIG. 14)is displayed.

On the other hand, if it is determined that the logged-in user is ananonymous user, the process proceeds to step S135, where the loginscreen 9070 (FIG. 13) is displayed. In step S136, input ofauthentication information is received from the user. It is determinedin step S137 whether or not the received authentication information iscorrect. If it is not correct, the process returns to the processing ofstep S135. On the other hand, if the received authentication informationis correct, the access management 3011 determines whether or not a newlylogged-in real-name user is permitted to execute the selected functionon the basis of the received authentication information in step S138. Ifthe real-name user is not permitted to execute the selected function,the process returns to step S135.

On the other hand, if the real-name user is permitted to execute theselected function, the user session management 3010 overwrites the userprofile with that of the newly logged-in user, in step S139. Then, theuser authority information is merged in step S140, and the selectedfunction is executed in step S141.

Advantages According to Second Embodiment

Even when an anonymous user and a real-name user are synthesized as alogged-in user, advantages equal to those of the first embodiment can beobtained.

It is to be understood that the present invention may also beaccomplished by supplying a system or an apparatus with a storage mediumin which a program code of software, which realizes the functions ofeither of the above described embodiments is stored, and causing acomputer (or CPU or MPU) of the system or apparatus to read out andexecute the program code stored in the storage medium.

In this case, the program code itself read from the storage mediumrealizes the functions of either of the above described embodiments, andtherefore the program code and the storage medium in which the programcode is stored constitute the present invention.

Examples of the storage medium for supplying the program code include afloppy (registered trademark) disk, a hard disk, a magnetic-opticaldisk, a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-RAM, a DVD-RW, aDVD+RW, a magnetic tape, a nonvolatile memory card, and a ROM.Alternatively, the program may be downloaded via a network.

Further, it is to be understood that the functions of either of theabove described embodiments may be accomplished not only by executingthe program code read out by a computer, but also by causing an OS(operating system) or the like which operates on the computer to performa part or all of the actual operations based on instructions of theprogram code.

Further, it is to be understood that the functions of either of theabove described embodiments may be accomplished by writing a programcode read out from the storage medium into a memory provided on anexpansion board inserted into a computer or a memory provided in anexpansion unit connected to the computer and then causing a CPU or thelike provided in the expansion board or the expansion unit to perform apart or all of the actual operations based on instructions of theprogram code.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications, equivalent structures and functions.

This application claims the benefit of Japanese Patent Application No.2008-283306 Nov. 4, 2008, which is hereby incorporated by referenceherein in its entirety.

What is claimed is:
 1. An image processing apparatus having a pluralityof functions including a first function which is executable without auser authentication and a second function which is executable after theuser authentication, the image processing apparatus comprising: at leastone memory; and at least one processor in communication with the atleast one memory, wherein the least one processor performs: displayingan operation screen including a first soft key for executing the firstfunction and a second soft key for executing the second function.
 2. Theimage processing apparatus according to claim 1, wherein the processorfurther performs: setting a user authority for each of the plurality offunctions; wherein the user authority is set so that a first user isprohibited to use the first function after the user authentication and asecond user is permitted to use the first function after the userauthentication.
 3. The image processing apparatus according to claim 2wherein the processor further performs: permitting a user to use thefirst function without the user authentication; prohibiting the firstuser to use the second function after the user authentication; andpermitting the second user to use the second function after the userauthentication.
 4. The image processing apparatus according to claim 1,the image processing apparatus further comprising a touch panel display,wherein the processor further performs: displaying the operation screenon the touch panel display to receive a touch operation for selectingone of the first and second soft keys.
 5. The image processing apparatusaccording to claim 4, wherein the first function is a copying function.6. The image processing apparatus according to claim 1, wherein theprocessor further performs: displaying a login screen when the secondsoft key is selected without the user authentication.
 7. The imageprocessing apparatus according to claim 6, wherein the processor furtherperforms: prohibiting a first user, who logs in with the login screen,to use the second function, when the user does not have a user authorityto use the second function; and permitting a second user, who logs inwith the login screen, to use the second function, when the second userhas a user authority to use the second function.
 8. The image processingapparatus according to claim 4 wherein the processor further performsdisplaying the operation screen on the touch panel display without theuser authentication when the image processing apparatus is activated,and displaying a login screen when the second soft key is selected bythe touch operation.
 9. The image processing apparatus according toclaim 1, wherein the processor further performs: displaying a loginscreen when the second soft key is selected without the userauthentication, and not displaying another login screen after the userauthentication when the second soft key is selected by a login user whodoes not have a user authority to use the second function.
 10. The imageprocessing apparatus according to claim 9, wherein a state without theuser authentication is a state where an anonymous user logs in the imageprocessing apparatus, and a state after the user authentication is astate where a real-name user logs in the image processing apparatus. 11.A method for controlling an image processing apparatus having aplurality of functions including a first function which is executablewithout a user authentication and a second function which is executableafter the user authentication, the method comprising: displaying anoperation screen including a first soft key for executing the firstfunction and a second soft key for executing the second function.
 12. Animage processing apparatus having a plurality of functions, the imageprocessing apparatus comprising: at least one memory; and at least oneprocessor in communication with the at least one memory, wherein theleast one processor performs: setting a user authority for each of theplurality of functions; receiving a user operation for selecting afunction among the plurality of functions; permitting a user to use afirst function selected by the user operation, in a case the user is notlogged in with user specific login information and is permitted to usethe first function; displaying a login screen to input login informationin a state the user is not logged in with user specific logininformation and is not permitted to use the second function selected bythe user operation; permitting a first user, corresponding to firstspecific login information input to the login screen, to use the secondfunction, in a case the first user is permitted to use the secondfunction, and prohibiting the first user, corresponding to the firstspecific login information input to the login screen, to use the firstfunction, in a case the first user is not permitted to use the firstfunction, wherein it is possible to set a predetermined function amongthe plurality of functions to permit the user to use the predeterminedfunction in a state the user is not logged in with the user specificlogin information and not to permit the user to use the predeterminedfunction in a state the user is logged in with the user specific logininformation.
 13. The image processing apparatus according to claim 12,wherein the least one processor performs: enabling to set the userauthority for each of the plurality of functions to each of the user notlogged in with the user specific login information and the first user.14 The image processing apparatus according to claim 12, wherein theprocessor further performs: displaying a first soft key for executingthe first function and a second soft key for executing the secondfunction in a same operation screen.
 15. The image processing apparatusaccording to claim 14, the image processing apparatus further comprisinga touch panel display, wherein the processor further performs:displaying the operation screen on the touch panel display.
 16. Theimage processing apparatus according to claim 12, wherein each of theuser specific login information including the first specific logininformation includes at least one of a user ID and a password.
 17. Theimage processing apparatus according to claim 12, the processor furtherperforms not displaying another login screen in a case the first user isnot permitted to use the first function.
 18. A method for an imageprocessing apparatus having a plurality of functions, the methodcomprising: setting a user authority for each of the plurality offunctions; receiving a user operation for selecting a function among theplurality of functions; permitting a user to use a first functionselected by the user operation, in a case the user is not logged in withuser specific login information and is permitted to use the firstfunction; displaying a login screen to input login information in astate the user is not logged in with user specific login information andis not permitted to use the second function selected by the useroperation; permitting a first user, corresponding to first specificlogin information input to the login screen, to use the second function,in a case the first user is permitted to use the second function, andprohibiting the first user, corresponding to the first specific logininformation input to the login screen, to use the first function, in acase the first user is not permitted to use the first function, whereinit is possible to set a predetermined function among the plurality offunctions to permit the user to use the predetermined function in astate the user is not logged in with the user specific login informationand not to permit the user to use the predetermined function in a statethe user is logged in with the user specific login information.